.ResourceLegendContainer {
  display: flex;
  flex-direction: column;
}

.ResourceLegendItem {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-3);
  cursor: pointer;
}

.ResourceLegendItem:hover {
  background-color: var(--interactive-hover-bg);
}

.ResourceLegendColor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--event-color-9);
}

.ResourceLegendName {
  font-size: var(--font-size-2);
  color: var(--text-secondary);
}

.ResourceLegendChildren {
  margin-left: var(--space-2);
}

.mui-x-scheduler .Button.ResourceLegendButton {
  padding: var(--space-1);
  margin-inline-start: auto;
}

.mui-x-scheduler .Button.ResourceLegendButton:hover {
  background-color: var(--interactive-hover-bg);
}
